package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.content.model.dto.BindTeachplanMediaDto;
import com.xuecheng.content.model.dto.SaveTeachplanDto;
import com.xuecheng.content.model.dto.TeachplanDto;
import com.xuecheng.content.model.po.Teachplan;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 * 课程计划 服务类
 * </p>
 *
 * @author tang
 * @since 2023-12-26
 */
public interface TeachplanService extends IService<Teachplan> {
    List<TeachplanDto> selectTeachplanNodes(Long courseId);

    void updateTeachplan(SaveTeachplanDto saveTeachplanDto);

    void deleteTeachplan(Long id);

    void movedown(Long id);

    void moveup(Long id);

    void bindMedia(BindTeachplanMediaDto bindTeachplanMediaDto);
}
